package com.company.permission.mapper;

import com.company.permission.entity.Role;

public interface RoleMapper {

    /**
     * 任务二：查询特定角色及其所拥有的所有菜单权限
     */
    Role findRoleWithMenusById(Long roleId);
    Role findRoleWithMenusByRoleKey(String roleKey);
}
